import request from "@/utils/request";

// 查询样本数据列表
export function listSample(query) {
  return request({
    url: "/check/sample/list",
    method: "get",
    params: query,
  });
}

export function getSampleListBySampleDecWay(query) {
  return request({
    url: "/check/sample/getSampleListBySampleDecWay",
    method: "get",
    params: query,
  });
}

// 分享
export function shareSamples(data) {
  return request({
    url: "/check/sample/shareSamples",
    method: "put",
    data: data,
  });
}

export function getReceiveSampleDateList(data) {
  return request({
    url: "/check/sample/getReceiveSampleDateList",
    method: "post",
    data: data,
  });
}

export function getSampleList(data) {
  return request({
    url: "/check/sample/getSampleList",
    method: "post",
    data: data,
  });
}
